<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>cors test</title>
</head>
<body>
<!-- CORS -->
<!-- <script>
    var xhr = new XMLHttpRequest()
    xhr.open('GET', 'http://127.0.0.1:8887/')
    xhr.send()
</script> -->

<!-- JSONP  -->
<!-- <script src="http://127.0.0.1:8887/"></script> -->

<!-- <script>
    fetch('http://localhost:8887/', {
        method: 'POST',
        headers: {
            'X-Test-Cors': '123'
        }
    })
</script> -->
<script src="./script.js"></script>
</body>
</html>